package edu.sctu.practice.class02.xuejiahua.test05;

/**
 * Created by Administrator on 2015/10/10.
 */
public class Person {
    private String name;
    private int age;

    public Person(String name,int age) {
        this.name = name;
        this.age = age;
    }

    public void display(){
        System.out.println("姓名是:"+name);
        System.out.println("年龄是:"+age);


    }


}
